<?php $this->_extends('_layouts/admin_layout'); ?>

<?php $this->_block('title'); ?> <?php echo $article->title; ?><?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>
<form method="POST" action="<?PHP echo url('admin/userinfo'); ?>">
    <table border="0">
        <tr><td>username:</td><td></td></tr>
        <tr><td>old password:</td><td><input type="password" name="old_password"></td></tr>
        <tr><td>new password:</td><td><input type="password" name="new_password" id="p1"></td></tr>
        <tr><td>confirm password:</td><td><input type="password" name="new1_password" id="p2"></td></tr>
        <tr><td><input type="submit" value="Register"></td><td><input type="reset" value="RE"></td></tr>
    </table>

</form>
<script type="text/javascript">
$("form").subimt(function(){ 
                             if($("#p1").val()!=$("#p2").val()){
                                 alert("plaese,confirm new password");
                             }
                             })
</script>
<?php $this->_endblock('contents'); ?>